#include "networkimpl.h"
#include <qDebug>
NetWorkImpl::NetWorkImpl()
{
    m_pack_num = 0;
}

NetWorkImpl::~NetWorkImpl()
{
    m_pack_num = 0;
}

bool NetWorkImpl::receive_handler(char *data, int size)
{
    m_pack_num ++ ;
    QString strInfo;
    strInfo.sprintf("NetWorkImpl::SendData size: %d  pack_num:%d ",size,m_pack_num);
    //qDebug(strInfo.toLocal8Bit().data());
    //qDebug(QString("NetWorkImpl::SendData size: ").append(QString::number((long)size)).toLocal8Bit().data());
    return SendData(data,size);
}

